//
//  Doctor_scrollViewController.m
//  International_Hospital
//
//  Created by 李建强 on 16/7/10.
//  Copyright © 2016年 LiYiLin. All rights reserved.
//

#import "Doctor_scrollViewController.h"

@interface Doctor_scrollViewController ()

@property (nonatomic,strong)UIScrollView *scrollView;

@end

@implementation Doctor_scrollViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];
    [self setupLayout];
    
    
}

-(void)setupUI{
    
    self.scrollView = [[UIScrollView alloc]init];
    
    [self.view addSubview:self.scrollView];
    
    CGFloat scrlloVieWidth = [UIScreen mainScreen].bounds.size.width *2;
    
    self.scrollView.contentSize = CGSizeMake(scrlloVieWidth, 0);
    
    
}

-(void)setupLayout{
    
    [self.scrollView mas_makeConstraints:^(MASConstraintMaker *make) {
       
        make.edges.mas_equalTo(UIEdgeInsetsMake(0, 0, 0, 0));
        
        
    }];
    
}






- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];

}


@end
